﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Anke.SHManage.Model.ExtentionModel
{
    public class M_PatientChargeDicInfo //2018-05-04 zch
    {
        private string m_ID;
        /// <summary> 
        /// ID 
        /// </summary> 
        //[Column(IsPrimaryKey = true, Name = "ID", DbType = "uniqueidentifier", Storage = "m_ID")]
        public string ID
        {
            get { return m_ID; }
            set { m_ID = value; }
        }

        private int m_TypeCode;
        /// <summary> 
        /// TypeCode 
        /// </summary> 
        //[Column(Name = "TypeCode", DbType = "int not null", Storage = "m_TypeCode", UpdateCheck = UpdateCheck.Never)]
        public int TypeCode
        {
            get { return m_TypeCode; }
            set { m_TypeCode = value; }
        }

        private string m_Formula;
        /// <summary> 
        /// Formula 
        /// </summary> 
        //[Column(Name = "Formula", DbType = "nvarchar(255)", Storage = "m_Formula", UpdateCheck = UpdateCheck.Never)]
        public string Formula
        {
            get { return m_Formula; }
            set { m_Formula = value; }
        }

        private double m_PriceOfKM;
        /// <summary> 
        /// PriceOfKM 
        /// </summary> 
        //[Column(Name = "PriceOfKM", DbType = "money", Storage = "m_PriceOfKM", UpdateCheck = UpdateCheck.Never)]
        public double PriceOfKM
        {
            get { return m_PriceOfKM; }
            set { m_PriceOfKM = value; }
        }

        private int m_OriginKM;
        /// <summary> 
        /// OriginKM 
        /// </summary> 
        //[Column(Name = "OriginKM", DbType = "int", Storage = "m_OriginKM", UpdateCheck = UpdateCheck.Never)]
        public int OriginKM
        {
            get { return m_OriginKM; }
            set { m_OriginKM = value; }
        }

        private double m_LeastPrice;
        /// <summary> 
        /// LeastPrice 
        /// </summary> 
        //[Column(Name = "LeastPrice", DbType = "money", Storage = "m_LeastPrice", UpdateCheck = UpdateCheck.Never)]
        public double LeastPrice
        {
            get { return m_LeastPrice; }
            set { m_LeastPrice = value; }
        }

        private bool m_isValid;
        /// <summary> 
        /// isValid 
        /// </summary> 
        //[Column(Name = "isValid", DbType = "bit", Storage = "m_isValid", UpdateCheck = UpdateCheck.Never)]
        public bool isValid
        {
            get { return m_isValid; }
            set { m_isValid = value; }
        }


        private double m_FirstAidPrice;
        /// <summary> 
        /// FirstAidPrice 
        /// </summary> 
        //[Column(Name = "LeastPrice", DbType = "money", Storage = "m_LeastPrice", UpdateCheck = UpdateCheck.Never)]
        public double FirstAidPrice
        {
            get { return m_FirstAidPrice; }
            set { m_FirstAidPrice = value; }
        }

    }

}
